#include<iostream>
using namespace std;

class Stack
{
public:
	void Push(int x)
	{
		//...
	}
	void Top()
	{
		//...
	}
private:
	int* a;
	int top;
	int capacity;
};

class Stack
{
	void Push(int x)
	{
		//...
	}
public:
	void Top()
	{
		//...
	}
private:
	int* a;
	int top;
	int capacity;
};

class Data
{
public:
	void Init(int year, int month, int day)
	{
		_year = year;
		_month = month;
		_day = day;
	}
private:
	int _year;
	int _month;
	int _day;
};

class Data
{
public:
	void Init(int year, int month, int day);

private:
	int _year;
	int _month;
	int _day;
};

void Data::Init(int year, int month, int day)
{
	_year = year;
	_month = month;
	_day = day;
}

int main()
{
	Data d1;
	return 0;
}